<template>
	<master :title="title">
	  <listpage ref="listpage"></listpage>
	</master>
  </template>
  <script type="text/javascript">
  (function (G) {
  var _this = null;
  G.vue({
	"usingComponents": {///引入组件
	  "master": "/components/Master/Master",///母版组件
	  "listpage": "/components/List/Page/Page",///通用列表组件
	  "modal":"/components/Modal/Modal"
	},
	"enablePullDownRefresh": true
  },G.modelList({
		modelName:'log',
	  title:'日志',
	  listPage(list,query){
		list.searchKey = 'type,desoptions,createTimeString'
		if(query.desoptions) {
			list.canBack = true
			list.actions.add = false ///取消新增按钮
      		list.actions.edit.name = '查看详情' ///取消行修改按钮
			list.getUrl += '?unitId=all&desoptions=' + query.desoptions
		}
	  },
	  modeleditquery(edit,event,query){
  
	  }
	},{
	  data:{
		
	  },
	  mounted:function(query){
		// _this = this
	  }
	}));
  })(Y)
  </script>
  <style scoped>
	
  </style>